﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsList.aspx.cs" Inherits="Eis51.Web.dataPage.NewsList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
                        
 <div class="indexmn">   
  <div class="rightnei">
                <div class="rightneiq">  
                    <ul>                    
                     
 <asp:ListView ID="lsData" runat="server" OnItemDataBound="LsHotelList_ItemDataBound"
                    OnPagePropertiesChanging="LsHotelList_PagePropertiesChanging">
                    <LayoutTemplate>
                        <div id="itemPlaceholder" runat="server">
                        </div>
                    </LayoutTemplate>
                    <EmptyDataTemplate>
                     <div class="list_box div0">
                              </div>
                    </EmptyDataTemplate>
                    <ItemTemplate>
                   <li>
                                    <a  href="NewsDT.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "Seqno")%>">                                   
                                    <span>
                                          <%# DataBinder.Eval(Container.DataItem, "Title")%>
                                    </span></a></li>
                             
                    </ItemTemplate>
                    </asp:ListView>    
                            
                    
                    
                    </ul>
                    <div class="poofen">
                  
                       
                       
                       
                        <asp:DataPager ID="DataPager1" PagedControlID="lsData" runat="server" PageSize="2"
                    OnPreRender="DataPager1_PreRender" QueryStringField="p">
                    <Fields>
                        <asp:NextPreviousPagerField ButtonType="Button" FirstPageText="第一页" LastPageText="尾页"
                            NextPageText="下一页" PreviousPageText="上一页" ShowFirstPageButton="True" ShowNextPageButton="False"
                            ShowPreviousPageButton="False"></asp:NextPreviousPagerField>
                        <asp:NumericPagerField NextPageText="..." PreviousPageText="..." ButtonCount="5"
                            CurrentPageLabelCssClass='this-page'></asp:NumericPagerField>
                        <asp:NextPreviousPagerField ButtonType="Button" FirstPageText="第一页" LastPageText="尾页"
                            NextPageText="下一页" PreviousPageText="上一页" ShowLastPageButton="True" ShowNextPageButton="False"
                            ShowPreviousPageButton="False"></asp:NextPreviousPagerField>
                    </Fields>
                </asp:DataPager>
                       </div>
                </div>
            </div>
        </div>
         
    </form>
</body>
</html>
